
<?php
include_once("connect.php");
if (isset($_POST['delID']) && isset($_POST['table'])){
mysql_query("DELETE FROM `forgeoia`.`".$_POST['table']."` WHERE `".$_POST['table']."`.`ID` = ".$_POST['delID']."");

 header ("location: .?page=".$_POST['page']);
 }

echo "erreur de suppression"
  ?>